package com.lugea.esdemo;

import com.lugea.esdemo.configuration.EsClientProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

import com.lugea.esdemo.configuration.EsClientProperties;

@SpringBootApplication
@EnableScheduling
@EnableConfigurationProperties(EsClientProperties.class)
public class EsDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(EsDemoApplication.class, args);
    }

}
